package untity.screen;

public class RentModel {
    private int mortgage;
    private int pay;

    private String rentmode;

    public String getRentmode() {
        return rentmode;
    }

    public void setRentmode(String rentmode) {
        this.rentmode = rentmode;
    }

    public int getMortgage() {
        return mortgage;
    }

    public void setMortgage(int mortgage) {
        this.mortgage = mortgage;
    }

    public int getPay() {
        return pay;
    }

    public void setPay(int pay) {
        this.pay = pay;
        rentmode=mortgage+"押"+pay+"付";
    }


    @Override
    public String toString() {
        return "RentModel{" +
                "mortgage=" + mortgage +
                ", pay=" + pay +
                ", rentmode='" + rentmode + '\'' +
                '}';
    }
}
